{% extends "base.html" %}
{% load i18n %}

{% block body %}
<ul>
  {% for category in categories %}
    <li>
      {{ category.name }}
      <ul>
        {% for forum in category.forums %}
        <li>
          {{ forum.name }}
          -
          <a href="/admin/forum/edit/{{ forum.key.id }}">
            {% trans "edit" %}
          </a>
          -
          <a href="/admin/forum/moderators/{{ forum.key.id }}">
            {% trans "moderators" %}
          </a>
        </li>
        {% endfor %}
      </ul>
    </li>
  {% endfor %}
  <li><a href="/admin/forum/add">{% trans "Add" %}...</a></li>
<ul>
{% endblock %}